Optimal. Leaf size=79 \[ -\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )}-\frac {\text {Chi}\left (\frac {2 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right ) \sinh \left (\frac {2 a}{b}\right )}{b^2 c^3}+\frac {\cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{b^2 c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.16, antiderivative size = 79, normalized size of antiderivative = 1.00, number of steps
used = 7, number of rules used = 7, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.259, Rules used = {5818, 5780,
5556, 12, 3384, 3379, 3382} \begin {gather*} -\frac {\sinh \left (\frac {2 a}{b}\right ) \text {Chi}\left (\frac {2 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{b^2 c^3}+\frac {\cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 \left (a+b \sinh ^{-1}(c x)\right )}{b}\right )}{b^2 c^3}-\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3379
Rule 3382
Rule 3384
Rule 5556
Rule 5780
Rule 5818
Rubi steps
\begin {align*} \int \frac {x^2}{\sqrt {1+c^2 x^2} \left (a+b \sinh ^{-1}(c x)\right )^2} \, dx &=-\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )}+\frac {2 \int \frac {x}{a+b \sinh ^{-1}(c x)} \, dx}{b c}\\ &=-\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )}+\frac {2 \text {Subst}\left (\int \frac {\cosh (x) \sinh (x)}{a+b x} \, dx,x,\sinh ^{-1}(c x)\right )}{b c^3}\\ &=-\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )}+\frac {2 \text {Subst}\left (\int \frac {\sinh (2 x)}{2 (a+b x)} \, dx,x,\sinh ^{-1}(c x)\right )}{b c^3}\\ &=-\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )}+\frac {\text {Subst}\left (\int \frac {\sinh (2 x)}{a+b x} \, dx,x,\sinh ^{-1}(c x)\right )}{b c^3}\\ &=-\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )}+\frac {\cosh \left (\frac {2 a}{b}\right ) \text {Subst}\left (\int \frac {\sinh \left (\frac {2 a}{b}+2 x\right )}{a+b x} \, dx,x,\sinh ^{-1}(c x)\right )}{b c^3}-\frac {\sinh \left (\frac {2 a}{b}\right ) \text {Subst}\left (\int \frac {\cosh \left (\frac {2 a}{b}+2 x\right )}{a+b x} \, dx,x,\sinh ^{-1}(c x)\right )}{b c^3}\\ &=-\frac {x^2}{b c \left (a+b \sinh ^{-1}(c x)\right )}-\frac {\text {Chi}\left (\frac {2 a}{b}+2 \sinh ^{-1}(c x)\right ) \sinh \left (\frac {2 a}{b}\right )}{b^2 c^3}+\frac {\cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (\frac {2 a}{b}+2 \sinh ^{-1}(c x)\right )}{b^2 c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.27, size = 70, normalized size = 0.89 \begin {gather*} \frac {-\frac {b c^2 x^2}{a+b \sinh ^{-1}(c x)}-\text {Chi}\left (2 \left (\frac {a}{b}+\sinh ^{-1}(c x)\right )\right ) \sinh \left (\frac {2 a}{b}\right )+\cosh \left (\frac {2 a}{b}\right ) \text {Shi}\left (2 \left (\frac {a}{b}+\sinh ^{-1}(c x)\right )\right )}{b^2 c^3} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(191\) vs.
\(2(79)=158\).
time = 5.74, size = 192, normalized size = 2.43
method | result | size |
default | \(\frac {1}{2 c^{3} \left (a +b \arcsinh \left (c x \right )\right ) b}-\frac {2 c^{2} x^{2}-2 \sqrt {c^{2} x^{2}+1}\, c x +1}{4 c^{3} \left (a +b \arcsinh \left (c x \right )\right ) b}+\frac {{\mathrm e}^{\frac {2 a}{b}} \expIntegral \left (1, 2 \arcsinh \left (c x \right )+\frac {2 a}{b}\right )}{2 c^{3} b^{2}}-\frac {2 b \,c^{2} x^{2}+2 x b c \sqrt {c^{2} x^{2}+1}+2 \,{\mathrm e}^{-\frac {2 a}{b}} \arcsinh \left (c x \right ) \expIntegral \left (1, -2 \arcsinh \left (c x \right )-\frac {2 a}{b}\right ) b +2 \,{\mathrm e}^{-\frac {2 a}{b}} \expIntegral \left (1, -2 \arcsinh \left (c x \right )-\frac {2 a}{b}\right ) a +b}{4 c^{3} b^{2} \left (a +b \arcsinh \left (c x \right )\right )}\) | \(192\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\left (a + b \operatorname {asinh}{\left (c x \right )}\right )^{2} \sqrt {c^{2} x^{2} + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{{\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}^2\,\sqrt {c^2\,x^2+1}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________